hipreme_engine v1.0.14 (2023-12-23T18:43:10Z)
Dub
Repo
HipSpriteBatch.setTexture
hip
graphics
g2d
spritebatch
HipSpriteBatch
Sets the current texture in use on the sprite batch and returns its slot.
int
setTexture
(IHipTexture texture)
class
HipSpriteBatch
protected
int
setTexture
(
IHipTexture
texture
)
int
setTexture
(IHipTextureRegion reg)
Meta
Source
See Implementation
hip
graphics
g2d
spritebatch
HipSpriteBatch
constructors
this
functions
addQuad
addQuads
draw
flush
setCurrentDepth
setShader
setTexture
static functions
getTextureRegionVertices
getTextureVertices
isZeroAlpha
variables
camera
currentTextures
fb
fbTexRegion
hasInitTextureSlots
indices
lastDrawQuadsCount
managedDepth
maxQuads
mesh
ppShader
quadsCount
spriteBatchShader
usingTexturesCount
vertices
Sets the current texture in use on the sprite batch and returns its slot.